package com.base.po.voip;

import java.util.ArrayList;
import java.util.List;

public class UsersRebateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UsersRebateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentId is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentId is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentId =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentId <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentId >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentId >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentId <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentId <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentId like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentId not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentId in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentId not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentId between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentId not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andReratio1IsNull() {
            addCriterion("ReRatio1 is null");
            return (Criteria) this;
        }

        public Criteria andReratio1IsNotNull() {
            addCriterion("ReRatio1 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio1EqualTo(Double value) {
            addCriterion("ReRatio1 =", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1NotEqualTo(Double value) {
            addCriterion("ReRatio1 <>", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1GreaterThan(Double value) {
            addCriterion("ReRatio1 >", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio1 >=", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1LessThan(Double value) {
            addCriterion("ReRatio1 <", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio1 <=", value, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1In(List<Double> values) {
            addCriterion("ReRatio1 in", values, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1NotIn(List<Double> values) {
            addCriterion("ReRatio1 not in", values, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1Between(Double value1, Double value2) {
            addCriterion("ReRatio1 between", value1, value2, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio1NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio1 not between", value1, value2, "reratio1");
            return (Criteria) this;
        }

        public Criteria andReratio2IsNull() {
            addCriterion("ReRatio2 is null");
            return (Criteria) this;
        }

        public Criteria andReratio2IsNotNull() {
            addCriterion("ReRatio2 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio2EqualTo(Double value) {
            addCriterion("ReRatio2 =", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2NotEqualTo(Double value) {
            addCriterion("ReRatio2 <>", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2GreaterThan(Double value) {
            addCriterion("ReRatio2 >", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio2 >=", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2LessThan(Double value) {
            addCriterion("ReRatio2 <", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio2 <=", value, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2In(List<Double> values) {
            addCriterion("ReRatio2 in", values, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2NotIn(List<Double> values) {
            addCriterion("ReRatio2 not in", values, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2Between(Double value1, Double value2) {
            addCriterion("ReRatio2 between", value1, value2, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio2NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio2 not between", value1, value2, "reratio2");
            return (Criteria) this;
        }

        public Criteria andReratio3IsNull() {
            addCriterion("ReRatio3 is null");
            return (Criteria) this;
        }

        public Criteria andReratio3IsNotNull() {
            addCriterion("ReRatio3 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio3EqualTo(Double value) {
            addCriterion("ReRatio3 =", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3NotEqualTo(Double value) {
            addCriterion("ReRatio3 <>", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3GreaterThan(Double value) {
            addCriterion("ReRatio3 >", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio3 >=", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3LessThan(Double value) {
            addCriterion("ReRatio3 <", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio3 <=", value, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3In(List<Double> values) {
            addCriterion("ReRatio3 in", values, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3NotIn(List<Double> values) {
            addCriterion("ReRatio3 not in", values, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3Between(Double value1, Double value2) {
            addCriterion("ReRatio3 between", value1, value2, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio3NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio3 not between", value1, value2, "reratio3");
            return (Criteria) this;
        }

        public Criteria andReratio4IsNull() {
            addCriterion("ReRatio4 is null");
            return (Criteria) this;
        }

        public Criteria andReratio4IsNotNull() {
            addCriterion("ReRatio4 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio4EqualTo(Double value) {
            addCriterion("ReRatio4 =", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4NotEqualTo(Double value) {
            addCriterion("ReRatio4 <>", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4GreaterThan(Double value) {
            addCriterion("ReRatio4 >", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio4 >=", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4LessThan(Double value) {
            addCriterion("ReRatio4 <", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio4 <=", value, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4In(List<Double> values) {
            addCriterion("ReRatio4 in", values, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4NotIn(List<Double> values) {
            addCriterion("ReRatio4 not in", values, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4Between(Double value1, Double value2) {
            addCriterion("ReRatio4 between", value1, value2, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio4NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio4 not between", value1, value2, "reratio4");
            return (Criteria) this;
        }

        public Criteria andReratio5IsNull() {
            addCriterion("ReRatio5 is null");
            return (Criteria) this;
        }

        public Criteria andReratio5IsNotNull() {
            addCriterion("ReRatio5 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio5EqualTo(Double value) {
            addCriterion("ReRatio5 =", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5NotEqualTo(Double value) {
            addCriterion("ReRatio5 <>", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5GreaterThan(Double value) {
            addCriterion("ReRatio5 >", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio5 >=", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5LessThan(Double value) {
            addCriterion("ReRatio5 <", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio5 <=", value, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5In(List<Double> values) {
            addCriterion("ReRatio5 in", values, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5NotIn(List<Double> values) {
            addCriterion("ReRatio5 not in", values, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5Between(Double value1, Double value2) {
            addCriterion("ReRatio5 between", value1, value2, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio5NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio5 not between", value1, value2, "reratio5");
            return (Criteria) this;
        }

        public Criteria andReratio6IsNull() {
            addCriterion("ReRatio6 is null");
            return (Criteria) this;
        }

        public Criteria andReratio6IsNotNull() {
            addCriterion("ReRatio6 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio6EqualTo(Double value) {
            addCriterion("ReRatio6 =", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6NotEqualTo(Double value) {
            addCriterion("ReRatio6 <>", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6GreaterThan(Double value) {
            addCriterion("ReRatio6 >", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio6 >=", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6LessThan(Double value) {
            addCriterion("ReRatio6 <", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio6 <=", value, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6In(List<Double> values) {
            addCriterion("ReRatio6 in", values, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6NotIn(List<Double> values) {
            addCriterion("ReRatio6 not in", values, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6Between(Double value1, Double value2) {
            addCriterion("ReRatio6 between", value1, value2, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio6NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio6 not between", value1, value2, "reratio6");
            return (Criteria) this;
        }

        public Criteria andReratio7IsNull() {
            addCriterion("ReRatio7 is null");
            return (Criteria) this;
        }

        public Criteria andReratio7IsNotNull() {
            addCriterion("ReRatio7 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio7EqualTo(Double value) {
            addCriterion("ReRatio7 =", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7NotEqualTo(Double value) {
            addCriterion("ReRatio7 <>", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7GreaterThan(Double value) {
            addCriterion("ReRatio7 >", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio7 >=", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7LessThan(Double value) {
            addCriterion("ReRatio7 <", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio7 <=", value, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7In(List<Double> values) {
            addCriterion("ReRatio7 in", values, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7NotIn(List<Double> values) {
            addCriterion("ReRatio7 not in", values, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7Between(Double value1, Double value2) {
            addCriterion("ReRatio7 between", value1, value2, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio7NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio7 not between", value1, value2, "reratio7");
            return (Criteria) this;
        }

        public Criteria andReratio8IsNull() {
            addCriterion("ReRatio8 is null");
            return (Criteria) this;
        }

        public Criteria andReratio8IsNotNull() {
            addCriterion("ReRatio8 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio8EqualTo(Double value) {
            addCriterion("ReRatio8 =", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8NotEqualTo(Double value) {
            addCriterion("ReRatio8 <>", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8GreaterThan(Double value) {
            addCriterion("ReRatio8 >", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio8 >=", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8LessThan(Double value) {
            addCriterion("ReRatio8 <", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio8 <=", value, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8In(List<Double> values) {
            addCriterion("ReRatio8 in", values, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8NotIn(List<Double> values) {
            addCriterion("ReRatio8 not in", values, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8Between(Double value1, Double value2) {
            addCriterion("ReRatio8 between", value1, value2, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio8NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio8 not between", value1, value2, "reratio8");
            return (Criteria) this;
        }

        public Criteria andReratio9IsNull() {
            addCriterion("ReRatio9 is null");
            return (Criteria) this;
        }

        public Criteria andReratio9IsNotNull() {
            addCriterion("ReRatio9 is not null");
            return (Criteria) this;
        }

        public Criteria andReratio9EqualTo(Double value) {
            addCriterion("ReRatio9 =", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9NotEqualTo(Double value) {
            addCriterion("ReRatio9 <>", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9GreaterThan(Double value) {
            addCriterion("ReRatio9 >", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9GreaterThanOrEqualTo(Double value) {
            addCriterion("ReRatio9 >=", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9LessThan(Double value) {
            addCriterion("ReRatio9 <", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9LessThanOrEqualTo(Double value) {
            addCriterion("ReRatio9 <=", value, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9In(List<Double> values) {
            addCriterion("ReRatio9 in", values, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9NotIn(List<Double> values) {
            addCriterion("ReRatio9 not in", values, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9Between(Double value1, Double value2) {
            addCriterion("ReRatio9 between", value1, value2, "reratio9");
            return (Criteria) this;
        }

        public Criteria andReratio9NotBetween(Double value1, Double value2) {
            addCriterion("ReRatio9 not between", value1, value2, "reratio9");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("Level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("Level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("Level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("Level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("Level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("Level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("Level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("Level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("Level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("Level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("Level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("Level not between", value1, value2, "level");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}